/*******************************************************************************
 *
 *    Copyright (c) Baina Info Tech Co. Ltd
 *
 *    Purse
 *    
 *    IntentManager
 *    TODO File description or class description.
 *
 *    @author: zuochen
 *    @since:  2010-11-19
 *    @version: 1.0
 *
 ******************************************************************************/

package com.tool.finance.manager;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;

import com.tool.finances.lifestyle.FinanceManager;
import com.tool.finances.lifestyle.HelpActivity;

/**
 * IntentManager of Purse.
 * 
 * @author zuochen
 * 
 */

public class IntentManager extends Activity {
	Context mContext;
	Intent mIntent;

	public IntentManager(Context mContext) {
		this.mContext = mContext;
	}

	public void gotoFinanceManager() {
		Intent mIntent = new Intent(mContext, FinanceManager.class);
		mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		mContext.startActivity(mIntent);
	}

	public void gotoHelpActivity() {
		Intent mIntent = new Intent(mContext, HelpActivity.class);
		mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		mContext.startActivity(mIntent);
	}

}
